package cn.com.shadowless.xinning.model.order;

import java.math.BigDecimal;

import lombok.Data;

/**
 * The type Asset broken info.
 *
 * @author sHadowLess
 */
@Data
public class AssetBrokenInfo {

    /**
     * data : {"id":"BF20210715005","createTime":"2021-07-15T11:16:07.76","createTimeStr":"2021-07-15","createUser":"146210135","createUserName":"左逸","fixedAssetId":"dell_1","asset":{"id":"GZ20210715002","assetNumber":"dell_1","assetName":"戴尔电脑","modelNumber":"DELL","assetType":null,"supplier":"上海","originalValue":7000,"departmentId":"584f8c0d617047f49d8250d664a1d31c","ownerDepartmentName":null,"owner":"146140350","ownerName":null,"storageLocation":"行政部办公室","startDate":"2021-07-15T10:56:31.057","startDateStr":"2021-07-15","assetStates":"在用","assetStatesStr":"在用","buyer":"146210135","buyerName":null,"checker":"146140350","checkerName":null,"remark":"123"},"departId":"584f8c0d617047f49d8250d664a1d31c","departName":"行政部","depreciationYear":1,"depreciationMonth":2,"depreciationTotal":3,"leftValue":4,"remark":"6","scrapReason":"5","deleteFlag":false,"status":"BS050"}
     */

    private DataBean data;

    @Data
    public static class DataBean {
        /**
         * id : BF20210715005
         * createTime : 2021-07-15T11:16:07.76
         * createTimeStr : 2021-07-15
         * createUser : 146210135
         * createUserName : 左逸
         * fixedAssetId : dell_1
         * asset : {"id":"GZ20210715002","assetNumber":"dell_1","assetName":"戴尔电脑","modelNumber":"DELL","assetType":null,"supplier":"上海","originalValue":7000,"departmentId":"584f8c0d617047f49d8250d664a1d31c","ownerDepartmentName":null,"owner":"146140350","ownerName":null,"storageLocation":"行政部办公室","startDate":"2021-07-15T10:56:31.057","startDateStr":"2021-07-15","assetStates":"在用","assetStatesStr":"在用","buyer":"146210135","buyerName":null,"checker":"146140350","checkerName":null,"remark":"123"}
         * departId : 584f8c0d617047f49d8250d664a1d31c
         * departName : 行政部
         * depreciationYear : 1
         * depreciationMonth : 2
         * depreciationTotal : 3
         * leftValue : 4
         * remark : 6
         * scrapReason : 5
         * deleteFlag : false
         * status : BS050
         */

        private String id;
        private String createTime;
        private String createTimeStr;
        private String createUser;
        private String createUserName;
        private String fixedAssetId;
        private AssetBean asset;
        private String departId;
        private String departName;
        private BigDecimal depreciationYear;
        private BigDecimal depreciationMonth;
        private BigDecimal depreciationTotal;
        private BigDecimal leftValue;
        private String remark;
        private String scrapReason;
        private boolean deleteFlag;
        private String status;

        @Data
        public static class AssetBean {
            /**
             * id : GZ20210715002
             * assetNumber : dell_1
             * assetName : 戴尔电脑
             * modelNumber : DELL
             * assetType : null
             * supplier : 上海
             * originalValue : 7000
             * departmentId : 584f8c0d617047f49d8250d664a1d31c
             * ownerDepartmentName : null
             * owner : 146140350
             * ownerName : null
             * storageLocation : 行政部办公室
             * startDate : 2021-07-15T10:56:31.057
             * startDateStr : 2021-07-15
             * assetStates : 在用
             * assetStatesStr : 在用
             * buyer : 146210135
             * buyerName : null
             * checker : 146140350
             * checkerName : null
             * remark : 123
             */

            private String id;
            private String assetNumber;
            private String assetName;
            private String modelNumber;
            private Object assetType;
            private String supplier;
            private BigDecimal originalValue;
            private String departmentId;
            private Object ownerDepartmentName;
            private String owner;
            private Object ownerName;
            private String storageLocation;
            private String startDate;
            private String startDateStr;
            private String assetStates;
            private String assetStatesStr;
            private String buyer;
            private Object buyerName;
            private String checker;
            private Object checkerName;
            private String remark;

        }
    }
}
